package io.renren.modules.sys.service.impl;

import io.renren.modules.sys.entity.SongsetEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.sys.dao.SongsetRecommendDao;
import io.renren.modules.sys.entity.SongsetRecommendEntity;
import io.renren.modules.sys.service.SongsetRecommendService;



@Service("songsetRecommendService")
public class SongsetRecommendServiceImpl implements SongsetRecommendService {
	@Autowired
	private SongsetRecommendDao songsetRecommendDao;
	
	@Override
	public SongsetRecommendEntity queryObject(Long id){
		return songsetRecommendDao.queryObject(id);
	}
	
	@Override
	public List<SongsetEntity> queryList(Map<String, Object> map){
		return songsetRecommendDao.querySongsetList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return songsetRecommendDao.queryTotal(map);
	}
	
	@Override
	public void save(SongsetRecommendEntity songsetRecommend){
		songsetRecommendDao.save(songsetRecommend);
	}
	
	@Override
	public void update(SongsetRecommendEntity songsetRecommend){
		songsetRecommendDao.update(songsetRecommend);
	}
	
	@Override
	public void delete(Long id){
		songsetRecommendDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		songsetRecommendDao.deleteBatch(ids);
	}

    @Override
    public List<SongsetEntity> queryListAll(Map<String, Object> params) {
        return songsetRecommendDao.queryListAll(params);
    }

    @Override
    public void deleteAll() {
        songsetRecommendDao.deleteAll();
    }

    @Override
    public void insertBatch(List<SongsetRecommendEntity> sList) {
        songsetRecommendDao.insertBatch(sList);
    }
}
